//
//  ThemeManager.h
//  taptap-server
//
//  Created by Michael Humphris on 11/08/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "workerArgs.h"
#import "Path.h"
#import "Filesystem.h"
#import "ZipArchive.h"
#import "workerResult.h"

@interface ThemeManager : NSObject{
    NSObject<workerResult> *delegate;
}
@property (assign) NSObject<workerResult> *delegate;


-(void) processDirectory:(NSString*)ThemePath;

-(void) DoWork:(workerArgs*)args;
-(BOOL) isValidTheme:(NSString*)path;
-(NSString*) getNameOfTheme:(NSString*)path;
-(int) getThemeVersion:(NSString*)path;
-(NSString*) makePathToZip:(NSString*)path;

@end
